<div class="yuList">
    <table class="table table-bordered">
        <thead>
        <tr>
            <td width="10%">编号</td>
            <td width="30%">标题</td>
            <td width="10%">状态</td>
            <td width="15%">创建时间</td>
            <td width="15%">发布时间</td>
            <td width="10%">操作</td>
        </tr>
        </thead>
        <tbody>
        <volist name="list" id="list" key="k">
            <tr>
                <td>{$list.id}</td>
                <td>{$list.title}</td>
                <td>
					<if condition="$list['status'] eq 1">
					已发布
					<else/>
					待发布
					</if>
				</td>
                <td>{$list.create_time|date="Y-m-d H:i:s", ###}</td>
                <td><if condition="$list['publish_time']">{$list.publish_time|date="Y-m-d H:i:s", ###}</if></td>
                <td>
                    <a href="/ClcwMessage/editMessage/id/{$list.id}">编辑</a>
                    <if condition="$list['status'] neq 1">
                    | <a onclick="publish({$list.id});" href="javascript:;">发布</a>
                    </if>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
    <div class="pageFaye"><div class="pager">{$page}</div><div class="clear"></div></div>
</div>
